<?php

define('PHP_EXT', '.php');
define('APP_PATH', dirname(__FILE__) . '/');

$core = require_once(APP_PATH . 'core/autoload.php');
$core->logfactory = $core->loader->lib('logfactory');

function httpResponse() {
    getInstance()->router->run();
}

httpResponse();
echo gettype($core->loader->view('login/login'));
